package com.yzd.otherlearn.jvm;

import com.yzd.otherlearn.util.Print;

public class AutoBoxTest {
	public static void main(String[] args) {
		Integer a = 1;
		Integer b = 2;
		Integer c = 3;
		Integer d = 3;
		Integer e = 321;
		Integer f = 321;
		Long g = 3L;
		Print.print(c == d);
		Print.print(e == f);
		Print.print(c == (a + b));
		Print.print(c.equals(a + b));
		Print.print(g == (a + b));
		Print.print(g.equals(a + b));
		
	}
}
